﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Koala.Pro.CodeGenerator.UI.Controls;
using Koala.Pro.CodeGenerator.UI.DatabaseModel.Schema;

namespace Koala.Pro.CodeGenerator.UI.Common
{
    public class LoadTablesDetails
    {
        private DbInstanceInfo dbInstance;

        private IProgressCallback progressCallBack;

        private string databaseName;

        public DbInstanceInfo DbInstance
        {
            get
            {
                return dbInstance;
            }
            set
            {
                dbInstance = value;
            }
        }

        public IProgressCallback ProgressCallBack
        {
            get
            {
                return progressCallBack;
            }
            set
            {
                progressCallBack = value;
            }
        }

        public string DatabaseName
        {
            get
            {
                return databaseName;
            }
            set
            {
                databaseName = value;
            }
        }

        public LoadTablesDetails(DbInstanceInfo dbInstance, string databaseName, IProgressCallback progressCallBack)
        {
            this.dbInstance = dbInstance;
            this.databaseName = databaseName;
            this.progressCallBack = progressCallBack;
        }
    }

}
